{template "content","header"}
<div class="position">当前位置：{catpos($catid)}</div>
<div class="container clearfix">
	<div class="jaz_list_left">
		<div class="list_warp">
			{pc:content action="lists" catid="$catid" num="15" order="inputtime DESC" page="$page"}
			<div class="pageinfo"><h1>共有<span>{$content_total}</span>个<span>{$catname}</span>资源 , 第<span>{$page}</span>页</h1></div>
			<div class="ad_list_468_60">
			</div>
			<ul>
				{loop $data $r}
				<li>
					<h3><a href="{$r['url']}" target="_blank">{$r['title']}</a></h3>
					<div class="description">{$r['description']}</div>
					<div class="art_info"><span>收录时间：{date('Y-m-d',$r['inputtime'])}</span> {if $r['version']}<span>Android版本：{$r['version']}</span>{/if} {if $r['filesize']}<span>ROM大小：{$r['filesize']}</span>{/if}</div>
				</li>
				{/loop}
			</ul>
			{/pc}
			<div class="ad_list_468_60">
			</div>
			<div class="jaz_page">{$pages}</div>
		</div>
	</div>
	<div class="jaz_list_right">
		<div class="block_1">
			<h2>{$CAT['catname']}</h2>
			<div class="catinfo clearfix">
				{php $catinfo = get_catinfo($CAT['parentid']);}
				<div class="cat_img"><img src="{$catinfo['image']}" alt="{$catinfo['catname']}" title="{$catinfo['catname']}"/></div>
				<div class="cat_txt">
					<div class="cat_title"><a href="{$catinfo['url']}">{$catinfo['catname']}</a></div>
					{pc:content action="category" catid="$catinfo['catid']" num="3" siteid="$siteid" order="listorder ASC" return="data2"} 
					{loop $data2 $r2}
					<div>{short_catname($r2['catname'],$catinfo['catname'])} ({$r2['items']})</div>
					{/loop}
					{/pc}
				</div>
				<div class="clearfix">
					<!-- Baidu Button BEGIN -->
					<div id="bdshare" class="bdshare_b" style="line-height: 12px;">
					<img src="http://bdimg.share.baidu.com/static/images/type-button-2.jpg?cdnversion=20120831" />
					<a class="shareCount"></a>
					</div>
					<script type="text/javascript" id="bdshare_js" data="type=button&amp;uid=6740063" ></script>
					<script type="text/javascript" id="bdshell_js"></script>
					<script type="text/javascript">
					document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000);
					</script>
					<!-- Baidu Button END -->
				</div>
			</div>
		</div>
		<div class="block_1 top_10">
			<h2>最新ROM</h2>
			{pc:content action="lists" catid="6" num="10" order="id DESC"}
			<ul>
				{loop $data $key $val}
				<li>
					<a href="{$val['url']}" title="{$val['title']}" target="_blank">{$val['title']}</a>
					<p>{str_cut($val['description'],120,'...')}</p>
				</li>
				{/loop}
			</ul>
			{/pc}
		</div>
		<div class="block_1 top_10">
			<h2>推荐教程</h2>
			{pc:content action="lists" catid="31" num="10" order="id DESC"}
			<ul>
				{loop $data $key $val}
				<li>
					<a href="{$val['url']}" title="{$val['title']}" target="_blank">{$val['title']}</a>
					<p>{str_cut($val['description'],120,'...')}</p>
				</li>
				{/loop}
			</ul>
			{/pc}
		</div>
	</div>
</div>
{template "content","footer"}